package cn.xd.base.application.service.common;

import cn.xd.base.domain.bean.command.AddKeyValueCommand;
import cn.xd.base.domain.bean.command.DeleteKeyValueCommand;
import cn.xd.base.domain.bean.command.UpdateKeyValueCommand;
import cn.xd.base.domain.bean.response.KeyValueDTO;

public interface KeyValueAppService {

    KeyValueDTO addKeyValue(AddKeyValueCommand command, Long userId);

    void updateKeyValue(UpdateKeyValueCommand command, Long userId);

    void deleteKeyValue(DeleteKeyValueCommand command);
}
